/**
 * 
 */
package com.bjpowernode.adapters.impl;

import com.bjpowernode.adapters.IWorkerAdapter;
import com.bjpowernode.worker.ICooker;

public class CookerAdapter implements IWorkerAdapter {
	@Override
	public String work(Object worker) {
		return ((ICooker) worker).cook();
	}

	@Override
	public boolean supports(Object worker) {
		return (worker instanceof ICooker);
	}

}
